package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SterilizeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SterilizeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTabNameIsNull() {
            addCriterion("tab_name is null");
            return (Criteria) this;
        }

        public Criteria andTabNameIsNotNull() {
            addCriterion("tab_name is not null");
            return (Criteria) this;
        }

        public Criteria andTabNameEqualTo(String value) {
            addCriterion("tab_name =", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameNotEqualTo(String value) {
            addCriterion("tab_name <>", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameGreaterThan(String value) {
            addCriterion("tab_name >", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameGreaterThanOrEqualTo(String value) {
            addCriterion("tab_name >=", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameLessThan(String value) {
            addCriterion("tab_name <", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameLessThanOrEqualTo(String value) {
            addCriterion("tab_name <=", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameLike(String value) {
            addCriterion("tab_name like", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameNotLike(String value) {
            addCriterion("tab_name not like", value, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameIn(List<String> values) {
            addCriterion("tab_name in", values, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameNotIn(List<String> values) {
            addCriterion("tab_name not in", values, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameBetween(String value1, String value2) {
            addCriterion("tab_name between", value1, value2, "tabName");
            return (Criteria) this;
        }

        public Criteria andTabNameNotBetween(String value1, String value2) {
            addCriterion("tab_name not between", value1, value2, "tabName");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeIsNull() {
            addCriterion("sterilize_type is null");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeIsNotNull() {
            addCriterion("sterilize_type is not null");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeEqualTo(String value) {
            addCriterion("sterilize_type =", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeNotEqualTo(String value) {
            addCriterion("sterilize_type <>", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeGreaterThan(String value) {
            addCriterion("sterilize_type >", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("sterilize_type >=", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeLessThan(String value) {
            addCriterion("sterilize_type <", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeLessThanOrEqualTo(String value) {
            addCriterion("sterilize_type <=", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeLike(String value) {
            addCriterion("sterilize_type like", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeNotLike(String value) {
            addCriterion("sterilize_type not like", value, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeIn(List<String> values) {
            addCriterion("sterilize_type in", values, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeNotIn(List<String> values) {
            addCriterion("sterilize_type not in", values, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeBetween(String value1, String value2) {
            addCriterion("sterilize_type between", value1, value2, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andSterilizeTypeNotBetween(String value1, String value2) {
            addCriterion("sterilize_type not between", value1, value2, "sterilizeType");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNull() {
            addCriterion("device_code is null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIsNotNull() {
            addCriterion("device_code is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeEqualTo(String value) {
            addCriterion("device_code =", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotEqualTo(String value) {
            addCriterion("device_code <>", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThan(String value) {
            addCriterion("device_code >", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeGreaterThanOrEqualTo(String value) {
            addCriterion("device_code >=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThan(String value) {
            addCriterion("device_code <", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLessThanOrEqualTo(String value) {
            addCriterion("device_code <=", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeLike(String value) {
            addCriterion("device_code like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotLike(String value) {
            addCriterion("device_code not like", value, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeIn(List<String> values) {
            addCriterion("device_code in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotIn(List<String> values) {
            addCriterion("device_code not in", values, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeBetween(String value1, String value2) {
            addCriterion("device_code between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andDeviceCodeNotBetween(String value1, String value2) {
            addCriterion("device_code not between", value1, value2, "deviceCode");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterIsNull() {
            addCriterion("sterilize_water is null");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterIsNotNull() {
            addCriterion("sterilize_water is not null");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterEqualTo(String value) {
            addCriterion("sterilize_water =", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterNotEqualTo(String value) {
            addCriterion("sterilize_water <>", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterGreaterThan(String value) {
            addCriterion("sterilize_water >", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterGreaterThanOrEqualTo(String value) {
            addCriterion("sterilize_water >=", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterLessThan(String value) {
            addCriterion("sterilize_water <", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterLessThanOrEqualTo(String value) {
            addCriterion("sterilize_water <=", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterLike(String value) {
            addCriterion("sterilize_water like", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterNotLike(String value) {
            addCriterion("sterilize_water not like", value, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterIn(List<String> values) {
            addCriterion("sterilize_water in", values, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterNotIn(List<String> values) {
            addCriterion("sterilize_water not in", values, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterBetween(String value1, String value2) {
            addCriterion("sterilize_water between", value1, value2, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeWaterNotBetween(String value1, String value2) {
            addCriterion("sterilize_water not between", value1, value2, "sterilizeWater");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeIsNull() {
            addCriterion("sterilize_time is null");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeIsNotNull() {
            addCriterion("sterilize_time is not null");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeEqualTo(String value) {
            addCriterion("sterilize_time =", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeNotEqualTo(String value) {
            addCriterion("sterilize_time <>", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeGreaterThan(String value) {
            addCriterion("sterilize_time >", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sterilize_time >=", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeLessThan(String value) {
            addCriterion("sterilize_time <", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeLessThanOrEqualTo(String value) {
            addCriterion("sterilize_time <=", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeLike(String value) {
            addCriterion("sterilize_time like", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeNotLike(String value) {
            addCriterion("sterilize_time not like", value, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeIn(List<String> values) {
            addCriterion("sterilize_time in", values, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeNotIn(List<String> values) {
            addCriterion("sterilize_time not in", values, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeBetween(String value1, String value2) {
            addCriterion("sterilize_time between", value1, value2, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeTimeNotBetween(String value1, String value2) {
            addCriterion("sterilize_time not between", value1, value2, "sterilizeTime");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameIsNull() {
            addCriterion("sterilize_user_name is null");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameIsNotNull() {
            addCriterion("sterilize_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameEqualTo(String value) {
            addCriterion("sterilize_user_name =", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameNotEqualTo(String value) {
            addCriterion("sterilize_user_name <>", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameGreaterThan(String value) {
            addCriterion("sterilize_user_name >", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("sterilize_user_name >=", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameLessThan(String value) {
            addCriterion("sterilize_user_name <", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameLessThanOrEqualTo(String value) {
            addCriterion("sterilize_user_name <=", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameLike(String value) {
            addCriterion("sterilize_user_name like", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameNotLike(String value) {
            addCriterion("sterilize_user_name not like", value, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameIn(List<String> values) {
            addCriterion("sterilize_user_name in", values, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameNotIn(List<String> values) {
            addCriterion("sterilize_user_name not in", values, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameBetween(String value1, String value2) {
            addCriterion("sterilize_user_name between", value1, value2, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andSterilizeUserNameNotBetween(String value1, String value2) {
            addCriterion("sterilize_user_name not between", value1, value2, "sterilizeUserName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNull() {
            addCriterion("white_day is null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIsNotNull() {
            addCriterion("white_day is not null");
            return (Criteria) this;
        }

        public Criteria andWhiteDayEqualTo(String value) {
            addCriterion("white_day =", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotEqualTo(String value) {
            addCriterion("white_day <>", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThan(String value) {
            addCriterion("white_day >", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayGreaterThanOrEqualTo(String value) {
            addCriterion("white_day >=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThan(String value) {
            addCriterion("white_day <", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLessThanOrEqualTo(String value) {
            addCriterion("white_day <=", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayLike(String value) {
            addCriterion("white_day like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotLike(String value) {
            addCriterion("white_day not like", value, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayIn(List<String> values) {
            addCriterion("white_day in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotIn(List<String> values) {
            addCriterion("white_day not in", values, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayBetween(String value1, String value2) {
            addCriterion("white_day between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andWhiteDayNotBetween(String value1, String value2) {
            addCriterion("white_day not between", value1, value2, "whiteDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNull() {
            addCriterion("duty_day is null");
            return (Criteria) this;
        }

        public Criteria andDutyDayIsNotNull() {
            addCriterion("duty_day is not null");
            return (Criteria) this;
        }

        public Criteria andDutyDayEqualTo(String value) {
            addCriterion("duty_day =", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotEqualTo(String value) {
            addCriterion("duty_day <>", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThan(String value) {
            addCriterion("duty_day >", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayGreaterThanOrEqualTo(String value) {
            addCriterion("duty_day >=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThan(String value) {
            addCriterion("duty_day <", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLessThanOrEqualTo(String value) {
            addCriterion("duty_day <=", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayLike(String value) {
            addCriterion("duty_day like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotLike(String value) {
            addCriterion("duty_day not like", value, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayIn(List<String> values) {
            addCriterion("duty_day in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotIn(List<String> values) {
            addCriterion("duty_day not in", values, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayBetween(String value1, String value2) {
            addCriterion("duty_day between", value1, value2, "dutyDay");
            return (Criteria) this;
        }

        public Criteria andDutyDayNotBetween(String value1, String value2) {
            addCriterion("duty_day not between", value1, value2, "dutyDay");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}